package com.ujs.shc.service.impl;

import com.ujs.shc.dao.CatelogMapper;
import com.ujs.shc.pojo.Catelog;
import com.ujs.shc.service.CatelogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CatelogServiceImpl implements CatelogService {

    @Autowired
    CatelogMapper catelogMapper;

    @Override
    public List<Catelog> getCateLog() {
        return catelogMapper.selectAllCatelog();
    }

}
